package com.dyrj.jzb.po;


import com.alibaba.fastjson.JSON;

import java.util.HashMap;


/**
 * KFEJZB6217	第三方支付渠道在途充值撤销（分账）	RevokeOnWayTopThirdPaySplit
 * 市场若需要对经6216【会员在途充值(经第三方支付渠道)】的指令进行撤销，可通过本接口实现。仅支持单笔撤销。
 */
public class Po6217RevokeOnWayTopThirdPaySplit extends PoBase{

    //资金汇总账号
    private String FundSummaryAcctNo;
    //原支付渠道类型
    //0001-微信
    //0002-支付宝
    //0003-京东支付
    //0004-百度支付
    //0005-快捷通支付
    //0006-裕福支付
    //0007-银联商务分期
    //0008-拉卡拉支付
    //0009-平安付
    //0010-QQ钱包
    //0011-通联
    //0012-银联商务POS
    //0014-苏宁支付
    //0015-乐刷支付
    //0016-中金支付
    private String OldPayChannelType;
    //原总订单号
    private String OldTotalOrderNo;
    //退款总金额
    private String TotalRefundAmt;
    //退款订单数量
    private String RefundOrderNum;
    //订单数量 1到20条
    //TranItemArray
    //SubOrderRefundSubAcctNo	子订单退款子账户
    //SubOrderRefundMemberCd	子订单退款会员代码
    //SubOrderMemberRefundAmt	子订单会员退款金额
    //SubOrderFeeRefundAmt	子订单手续费退款金额
    //SubOrderRefundOrderNo	子订单退款订单号
    //SubOrderRefundSeqNo	子订单退款流水号
    //ReservedMsg	保留域

    //保留域1
    private String ReservedMsgOne;
    //保留域2
    private String ReservedMsgTwo;

    //输出  订单数量 1-20之间
    private String OrdersCount;
    //TranItemArray
    //输出  前置流水号
    private String FrontSeqNo;
    //输出  保留域1
//    private String ReservedMsgOne;
    //输出  保留域2
//    private String ReservedMsgTwo;


    public String getReqPara() {
        HashMap paraKeyDict = new HashMap();
        paraKeyDict.put("CnsmrSeqNo",this.getCnsmrSeqNo());
        paraKeyDict.put("MrchCode",this.getMrchCode());
        paraKeyDict.put("FundSummaryAcctNo",this.getFundSummaryAcctNo());
        paraKeyDict.put("OldPayChannelType",this.getOldPayChannelType());
        paraKeyDict.put("OldTotalOrderNo",this.getOldTotalOrderNo());
        paraKeyDict.put("TotalRefundAmt",this.getTotalRefundAmt());
        paraKeyDict.put("RefundOrderNum",this.getRefundOrderNum());
        paraKeyDict.put("ReservedMsgOne",this.getReservedMsgOne());
        paraKeyDict.put("ReservedMsgTwo",this.getReservedMsgTwo());
        return JSON.toJSONString(paraKeyDict);
    }

    public String getFundSummaryAcctNo() {
        return FundSummaryAcctNo;
    }

    public void setFundSummaryAcctNo(String fundSummaryAcctNo) {
        FundSummaryAcctNo = fundSummaryAcctNo;
    }

    public String getOldPayChannelType() {
        return OldPayChannelType;
    }

    public void setOldPayChannelType(String oldPayChannelType) {
        OldPayChannelType = oldPayChannelType;
    }

    public String getOldTotalOrderNo() {
        return OldTotalOrderNo;
    }

    public void setOldTotalOrderNo(String oldTotalOrderNo) {
        OldTotalOrderNo = oldTotalOrderNo;
    }

    public String getTotalRefundAmt() {
        return TotalRefundAmt;
    }

    public void setTotalRefundAmt(String totalRefundAmt) {
        TotalRefundAmt = totalRefundAmt;
    }

    public String getRefundOrderNum() {
        return RefundOrderNum;
    }

    public void setRefundOrderNum(String refundOrderNum) {
        RefundOrderNum = refundOrderNum;
    }

    public String getReservedMsgOne() {
        return ReservedMsgOne;
    }

    public void setReservedMsgOne(String reservedMsgOne) {
        ReservedMsgOne = reservedMsgOne;
    }

    public String getReservedMsgTwo() {
        return ReservedMsgTwo;
    }

    public void setReservedMsgTwo(String reservedMsgTwo) {
        ReservedMsgTwo = reservedMsgTwo;
    }

    public String getOrdersCount() {
        return OrdersCount;
    }

    public void setOrdersCount(String ordersCount) {
        OrdersCount = ordersCount;
    }

    public String getFrontSeqNo() {
        return FrontSeqNo;
    }

    public void setFrontSeqNo(String frontSeqNo) {
        FrontSeqNo = frontSeqNo;
    }
}
